package com.company.shop;

import com.company.creature.Creature;
import com.company.shop.Shop;

/**
 * @description:
 * @author: ZhaoYicong
 * @date: Created in 2020/4/26 10:21
 * @version:
 * @modified By:
 */
public abstract class Weapon extends Shop {


    public Weapon(int smoney, String id, String name) {
        super(smoney, id, name);
    }

    private int hurtValue;
    public abstract void useWeapon(Creature creature,Creature targetCreature);

    public Weapon() {

    }

    public Weapon(int smoney, String id, String name, int hurtValue) {
        super(smoney, id, name);
        this.hurtValue = hurtValue;
    }

    public int getHurtValue() {
        return hurtValue;
    }

    public void setHurtValue(int hurtValue) {
        this.hurtValue = hurtValue;
    }
}
